<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>鼠标单击事件</title>
		<style type="text/css">
			#btn{
				display:inline-block;
				width:150px;
				height:30px;
				line-height:30px;
				text-align:center;
				color:white;
				background-color:orange;
				font-weight:bold;
				border-radius:5px;
				cursor:pointer;
			}
			#btn:hover{
				background-color:skyblue;
			}
		</style>
		<script type="text/javascript" src="../../jQuery/jquery-3.4.1.js"></script>
		<script type="text/javascript">
			$(function(){
				$("#btn").click(function(){
					alert("提交成功！");
				});
			})
		</script>
	</head>
	<body>
		<div id="btn">提交表单</div>
	</body>
</html>
